package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/3/21 0021
 **/
@Data
@ApiModel("短信模板列表对象")
public class SmsTemplateListVo {
    @ApiModelProperty(value = "短信模板ID")
    private Long id;

    @ApiModelProperty(value = "短信类型：1-验证类短信，2-通知类，3-推广类短信")
    private Integer type;

    @ApiModelProperty(value = "模板编号")
    private String code;

    @ApiModelProperty(value = "模板名称")
    private String name;

    @ApiModelProperty(value = "模板内容")
    private String content;

    @ApiModelProperty(value = "是否上架：false-已下架，true-正常")
    private Boolean release;

    @ApiModelProperty(value = "短信模板状态：false-启用，true-禁用")
    private Boolean status;

    @ApiModelProperty(value = "是否允许编辑接收短信的角色：false-不允许，true-允许编辑")
    private Boolean updateReceiveRole;

    @ApiModelProperty(value = "接收短信角色类型名称")
    private String roleTypeStr;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
